package es.citic.puedes.weatherservice.model;

/*
*
* Wind
*
* Class Wind represents Wind data from weather.
*
*
* Copyright 2008-2009 Centro Andaluz de Innovación y Tecnologías de la
* Información y las Comunicaciones (CITIC). All Rights Reserved.
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER
*
* Please contact CITIC - Edificio CITIC, C/ Marie Curie, 6 Parque
* Tecnológico de Andalucía 29590 - Campanillas, Málaga, Spain
* or visit www.citic.es, if you need additional information or
* have any questions.
*/
public class Wind {
	private Integer windSpeedMiles;
	private Integer windSpeedKmph;
	private String windDirection;
	 
	/**
	 * Empty constructor 
	 */
	public Wind() {
		this.windSpeedMiles=null;
		this.windSpeedKmph=null;
		this.windDirection=null;
	}
	 
	/**
	 * Constructor with parameters
	 * @param windSpeedMiles
	 * @param windSpeedKmph
	 * @param windDirection
	 */
	public Wind(Integer windSpeedMiles, Integer windSpeedKmph, String windDirection) {
		this.windDirection=windDirection;
		this.windSpeedKmph=windSpeedKmph;
		this.windSpeedMiles=windSpeedMiles;
	}
	 
	/**
	 * Get wind speed in miles
	 * @return windSpeedMiles		Wind speed in miles
	 */
	public Integer getWindSpeedMiles() {
		return this.windSpeedMiles;
	}
	 
	/**
	 * get wind speed in kmph
	 * @return windSpeedKmph		Wind speed in Kmph
	 */	
	public Integer getWindSpeedKmph() {
		return this.windSpeedKmph;
	}
	 
	/**
	 * Get wind direction
	 * @return windDirection		Wind direction
	 */
	public String getWindDirection() {
		return this.windDirection;
	}
	 
	/**
	 * Set wind speed in miles
	 * @param windSpeedMiles		Wind speed in miles
	 */
	public void setWindSpeedMiles(Integer windSpeedMiles) {
		this.windSpeedMiles=windSpeedMiles;	
	}
	 
	/**
	 * Set wind speed in Kmph
	 * @param windSpeedKmph			Wind speed in Kmph
	 */
	public void setWindSpeedKmph(Integer windSpeedKmph) {
		this.windSpeedKmph=windSpeedKmph;
	}
	 
	/**
	 * Set wind direction
	 * @param windDirection			Wind direction
	 */
	public void setWindDirection(String windDirection) {
		this.windDirection=windDirection;
	}
	
	public String toString(){
		return this.windSpeedMiles + "Miles-" + this.windSpeedKmph + "Kmph" + ", " +this.windDirection;
	}
	
	 
}
 
